package com.qidianit.springboot.entity;

public class StuDetail {
    private Integer sd_id;

    private Integer stu_id;

    private String major;

    private String phone;

    private String address;

    public Integer getSd_id() {
        return sd_id;
    }

    public void setSd_id(Integer sd_id) {
        this.sd_id = sd_id;
    }

    public Integer getStu_id() {
        return stu_id;
    }

    public void setStu_id(Integer stu_id) {
        this.stu_id = stu_id;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major == null ? null : major.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", sd_id=").append(sd_id);
        sb.append(", stu_id=").append(stu_id);
        sb.append(", major=").append(major);
        sb.append(", phone=").append(phone);
        sb.append(", address=").append(address);
        sb.append("]");
        return sb.toString();
    }
}